/**
 * 站内信回复window视图
 */
Ext.define('app.view.staff.InternalMsgReply',{
	extend: 'Ext.window.Window',
	alias: 'widget.internalMsgReply',
	title: '站内信详情',
	bodyPadding: 20,
	width: 700,
	border: false,
	items:[{
		xtype: 'form',
		border: false,
		layout: 'anchor',
	    defaults: {
	        anchor: '100%'
	    },
		defaultType: 'textField',
		items:[{
			xtype: 'textfield',
		    name: 'title',
		    fieldLabel: '标题',
		    allowBlank: false,
		},{
			xtype: 'textfield',
			name: 'toname',
			fieldLabel: '收信人',
			id: 'textToname'
		},{
			xtype: 'combobox',
			name: 'touid',
			fieldLabel: '收信人',
			id: 'comboboxToname',
			store: 'InternalMsgSendStore',
			displayField: 'username',
			valueField: 'id',
			emptyText: '请选择收信人',
			editable: false,
			hidden: true,
			disabled: true
		},{
			xtype: 'htmleditor',
			name: 'content',
			fieldLabel: '内容详情',
			allowBlank: false
		}]
	}],
	
	buttons:[{
		xtype: 'button',
		text: '发送',
		action: 'reply'
	}],	
})


